/////////////////////////////////////////////////
/// @file test_dll.h
///
///
///
/// @author FU
///
/// @date 03/05/2012
/////////////////////////////////////////////////
#ifndef __TEST_DLL_H__
#define __TEST_DLL_H__

#ifdef TEST_EXPORTS
#define TESTDLL_API __declspec(dllexport)
#else
#define TESTDLL_API __declspec(dllimport)
#endif

#include "TestInterface.h"

extern "C"
{
	TESTDLL_API bool InitTest(HINSTANCE hInst);

	TESTDLL_API ITest* CreateTest(const char* pStrTest);
	TESTDLL_API void DestroyTest(ITest* pTest);
};

extern bool (*InsertCase)(int nState,const char* pStrCase,TestCasesMap& rCases);
extern int	(*WriteLog)(const char* fmt, ...);

#endif //__TEST_DLL_H__